package com.grp6.game.chess.player;

import java.util.ArrayList;
import java.util.List;

import com.grp6.game.chess.model.ChessPiece;
import com.grp6.game.difficultystrategy.INextMoveStrategy;
import com.grp6.game.model.IPiece;
import com.grp6.game.player.AbstractComputerPlayer;
import com.grp6.game.player.IComputerPlayer;

public class ChessComputerPlayer extends AbstractComputerPlayer implements
		IComputerPlayer,IChessPlayer {
	private List<ChessPiece> pieces = new ArrayList<ChessPiece>();
	private boolean playing;

	public ChessComputerPlayer(INextMoveStrategy currentAIstrategy) {
		super(currentAIstrategy);
	}
	
	public ChessComputerPlayer() {
		super(createDefaultMoveStrategy());
	}

	private static INextMoveStrategy createDefaultMoveStrategy() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean isHasWon() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void setHasWon(boolean hasWon) {
		// TODO Auto-generated method stub

	}

	@Override
	public List<ChessPiece> getPieces() {
		return pieces ;
	}

	@Override
	public void setPieces(List<IPiece> pieces) {
		// TODO Auto-generated method stub

	}

	public void setPlaying(boolean playing){
		this.playing = playing;
	}
	
	public boolean isPlaying(){
		return playing;
	}


}
